package com.chenliang.mongodb.po;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @program: springboot_all
 * @description:
 * @author: 陈亮
 * @create: 2022-05-03 20:52
 */
@Data
@Document("people")
public class People {

    @Id
    private String id;

    private String name;

    private int age;
}
